package com.tm.mholmu.db;

import android.content.Context;

import com.tm.mholmu.application.MHOApplication;
 
public class DBUtils {
	public DBServiceIpml dbservice;
	private static DBUtils ins;
 
	private DBUtils() {
		
	}
	public static DBUtils getInstance() {
		synchronized ("") {
			if (ins == null){
				ins = new DBUtils();
				ins.init(MHOApplication.getInstance().getApplicationContext());
			}
			return ins;
		}
	}
	private void init(Context ctx) {
		dbservice = DBServiceIpml.getInstatnce(ctx);
	}
	public DBServiceIpml getDBService() {
		return dbservice;
	}

}
